Carthage lost its navy, Spain and much of North Africa in the terms of surrender. Despite rapid economic recovery, it was no longer a major power. Rome's ally Masinissa, king of Numidia, provoked Carthage to attack in 150 BC, impelling Rome to declare war again.